package com.lanou.bbs.dao;

import com.lanou.bbs.entity.User;

/**
 * @Author 张贵宏
 * @Date 18/6/19 下午4:40
 */
public interface UserDao {
    User findByName(String name);

    void register(User user);

    User canRegister(User user);

    User findById(int uid);
}
